package com.yc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *      考勤申诉表
 * </p>
 *
 * @author mqm
 * @since 2023-07-27
 */
@TableName("attendance_sheet")
public class AttendanceSheet implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      /**
     * 学生账号
     */
      private String stuid;

      /**
     * 具体时间
     */
      private String time;

    /**
     * 老师Id
     */
    private int teacherId;

    /**
     * 学生要改为的状态
     */
    private int changeStatus;

    /**
     * 是否已读
     */
    private int isread ;

    /**
     * 审核状态
     */
    private int Auditstatus;



    /**
     * 老师回复内容
     */
    private String teacherReply;

      /**
     * 考勤ID
     */
      private Integer attid;

      /**
     * 审核状态
     */
      private Integer status;

      /**
     * 课程名
     */
      private String coursename;

      /**
     * 详细信息
     */
      private String description;

      /**
     * 图片或佐证材料
     */
      private String imagePath;

      /**
     * 创建人
     */
      private Integer createBy;

      /**
     * 创建时间
     */
      private LocalDateTime createTime;

      /**
     * 修改人
     */
      private Integer updateBy;

      /**
     * 修改时间
     */
      private LocalDateTime updateTime;

    
    public Integer getId() {
        return id;
    }

      public void setId(Integer id) {
          this.id = id;
      }
    
    public String getStuid() {
        return stuid;
    }

      public void setStuid(String stuid) {
          this.stuid = stuid;
      }
    
    public String getTime() {
        return time;
    }

      public void setTime(String time) {
          this.time = time;
      }
    
    public Integer getAttid() {
        return attid;
    }

      public void setAttid(Integer attid) {
          this.attid = attid;
      }
    
    public Integer getStatus() {
        return status;
    }

      public void setStatus(Integer status) {
          this.status = status;
      }
    
    public String getCoursename() {
        return coursename;
    }

      public void setCoursename(String coursename) {
          this.coursename = coursename;
      }
    
    public String getDescription() {
        return description;
    }

      public void setDescription(String description) {
          this.description = description;
      }
    
    public String getImagePath() {
        return imagePath;
    }

      public void setImagePath(String imagePath) {
          this.imagePath = imagePath;
      }
    
    public Integer getCreateBy() {
        return createBy;
    }

      public void setCreateBy(Integer createBy) {
          this.createBy = createBy;
      }
    
    public LocalDateTime getCreateTime() {
        return createTime;
    }

      public void setCreateTime(LocalDateTime createTime) {
          this.createTime = createTime;
      }
    
    public Integer getUpdateBy() {
        return updateBy;
    }

      public void setUpdateBy(Integer updateBy) {
          this.updateBy = updateBy;
      }
    
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

      public void setUpdateTime(LocalDateTime updateTime) {
          this.updateTime = updateTime;
      }
    public int getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(int teacherId) {
        this.teacherId = teacherId;
    }

    public int getChangeStatus() {
        return changeStatus;
    }

    public void setChangeStatus(int changeStatus) {
        this.changeStatus = changeStatus;
    }

    public int getIsread() {
        return isread;
    }

    public void setIsread(int isread) {
        this.isread = isread;
    }

    public int getAuditstatus() {
        return Auditstatus;
    }

    public void setAuditstatus(int auditstatus) {
        Auditstatus = auditstatus;
    }

    public String getTeacherReply() {
        return teacherReply;
    }

    public void setTeacherReply(String teacherReply) {
        this.teacherReply = teacherReply;
    }

    @Override
    public String toString() {
        return "AttendanceSheet{" +
                "id=" + id +
                ", stuid='" + stuid + '\'' +
                ", time='" + time + '\'' +
                ", teacherId=" + teacherId +
                ", changeStatus=" + changeStatus +
                ", isread=" + isread +
                ", Auditstatus=" + Auditstatus +
                ", teacherReply='" + teacherReply + '\'' +
                ", attid=" + attid +
                ", status=" + status +
                ", coursename='" + coursename + '\'' +
                ", description='" + description + '\'' +
                ", imagePath='" + imagePath + '\'' +
                ", createBy=" + createBy +
                ", createTime=" + createTime +
                ", updateBy=" + updateBy +
                ", updateTime=" + updateTime +
                '}';
    }
}
